package cn.com.smart.flow.bean.entity;

import cn.com.smart.bean.BaseBeanImpl;
import org.snaker.engine.model.TaskModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Copyright
 *
 * @author chenwenchao
 * @date 2019/4/2
 * Description:
 */
@Entity
@Table(name="t_wf_task")
public class TFLowTask  extends BaseBeanImpl {

    private static final long serialVersionUID = 1570460863862270206L;
    private String id;
    private Integer version = 0;
    private String orderId;
    private String taskName;
    private String displayName;
    private Integer performType;
    private Integer taskType;
    private String operator;
    private String createTime;
    private String takeTime;
    private String finishTime;
    private String expireTime;
    private String actionUrl;
    private String parentTaskId;
    private String variable;
    @Override
    @Id
    @Column(name="id",length=50)
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id=id;
    }
    @Column(name="version",length=50)
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
    @Column(name="order_id",length=50)
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    @Column(name="task_name",length=50)
    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }
    @Column(name="display_name",length=50)
    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }
    @Column(name="perform_type",length=11)
    public Integer getPerformType() {
        return performType;
    }

    public void setPerformType(Integer performType) {
        this.performType = performType;
    }
    @Column(name="task_type",length=11)
    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }
    @Column(name="operator",length=50)
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
    @Column(name="create_time",length=50)
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    @Column(name="take_time",length=50)
    public String getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(String takeTime) {
        this.takeTime = takeTime;
    }
    @Column(name="finish_time",length=50)
    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }
    @Column(name="expire_time",length=50)
    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }
    @Column(name="action_url",length=50)
    public String getActionUrl() {
        return actionUrl;
    }

    public void setActionUrl(String actionUrl) {
        this.actionUrl = actionUrl;
    }
    @Column(name="parent_Task_id",length=50)
    public String getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(String parentTaskId) {
        this.parentTaskId = parentTaskId;
    }
    @Column(name="variable",length=50)
    public String getVariable() {
        return variable;
    }

    public void setVariable(String variable) {
        this.variable = variable;
    }

}
